package com.yenlien.traceyun.control.entity;

import com.yenlien.traceyun.webase.entity.BaseEntity;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;


/**
 * 科技服务一级分类
 */
@Entity
@Table(name = "t_level_top")
@Data
public class LevelTop extends BaseEntity {
    @Column(name = "name", length = 20)
    private String name;     //一级标题

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "create_time")
    @Temporal(TemporalType.TIMESTAMP)
    private Date createTime;            //创建时间

}
